<template>
  <div>
    <div class="box">
      <div class="title"><slot name="title"></slot></div>
      <table class="table">
        <tr>
          <td>
            <el-checkbox></el-checkbox> 商品添加
          </td>
            <td>
            <el-checkbox></el-checkbox> 商品编辑
          </td>
            <td>
            <el-checkbox></el-checkbox> 商品删除
          </td>
            <td>
            <el-checkbox></el-checkbox> 商品查看
          </td>
        </tr>
      </table>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.box {
  padding: 30px 30px;

}
.table {
  border: 1px solid #eee;
  border-collapse: collapse;
  width: 100%;
  & td {
    border: 1px solid #eee;
    height: 50px;
    text-align: center;
    color: #666666;
    font-size: 14px;
  }
}
.title {
  height: 50px;
  width: 100%;
  line-height: 50px;
  font-size: 14px;
  color: #666666;
  text-indent: 10px;
  background-color: rgba(249, 250, 252, 1);
  border: 1px solid #eee;
  border-bottom: none;
}
</style>